home *** CD-ROM | disk | FTP | other *** search
- /* FilterFirstOrderLowpass.h */
-
- #ifndef Included_FilterFirstOrderLowpass_h
- #define Included_FilterFirstOrderLowpass_h
-
- /* FilterFirstOrderLowpass module depends on */
- /* MiscInfo.h */
- /* Audit */
- /* Debug */
- /* Definitions */
- /* Memory */
- /* FloatingPoint */
-
- struct FirstOrderLowpassRec;
- typedef struct FirstOrderLowpassRec FirstOrderLowpassRec;
-
- /* flush free list */
- void FlushCachedFirstOrderLowpassStuff(void);
-
- /* create a new filter record */
- FirstOrderLowpassRec* NewFirstOrderLowpass(void);
-
- /* dispose filter record */
- void DisposeFirstOrderLowpass(FirstOrderLowpassRec* Filter);
-
- /* adjust filter coefficients */
- void SetFirstOrderLowpassCoefficients(FirstOrderLowpassRec* Filter,
- float Cutoff, long SamplingRate);
-
- /* apply filter to a sample value */
- float ApplyFirstOrderLowpass(FirstOrderLowpassRec* Filter, float Xin);
-
- #endif
-